﻿using RaytracerLib.MathLib;

namespace RaytracerLib.Materials
{
    public interface IMaterialPart
    {
        Tangents GetTangents(Intersection a_intersection);
        ColorFloat GetColor(Intersection a_intersection);
        double GetValue(Intersection a_intersection);

        void RenderStart(RenderStartPhase a_phase);
        void RenderEnd(bool a_all);
    }
}